		function isValidBusCode(busCode){
			var ret=false;		
			if(busCode.length==15){				
				var s=[];			
				var p=[];			
				var a=[];			
				var m=10;			
				p[0]=m;			
				for(var i=0;i<busCode.length;i++){			
					a[i]=parseInt(busCode.substring(i,i+1),m);				
					s[i]=(p[i]%(m+1))+a[i];				
					if(0==s[i]%m){				
						p[i+1]=10*2;				
					}else{				
						p[i+1]=(s[i]%m)*2;				
					}			
				}			
				if(1==(s[14]%m)){			
					//营业执照编号正确!			
					alert("营业执照编号正确!");			
					ret=true;			
				}else{			
					//营业执照编号错误!			
					ret=false;			
					alert("营业执照编号错误!");			
					}				
			}else if(""==busCode){
				alert("请输入营业执照编号!");
				ret=false;			
			}			
			return ret;		
		}